package com.xh.bussiness.teachbook.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * <p>
 *
 * </p>
 *
 * @author Pitt zhang
 * @since 2019/9/4
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bk_teaching_book_plan_bind")
public class TeachingBookPlanBind extends Model<TeachingBookPlanBind> {

    /**
     * 主键ID , 这里故意演示注解可以无
     */
    @TableId(value = "id",type = IdType.UUID)
    private String id;

    private String planDetailId;

    /**
     * 备课id
     */
    private String teachingBookId;

    /**
     * 是否删除
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;

    /**
     * 龙文系统排课id
     */
    private String lwPaikeId;


    /**
     * 添加的上课时间段（龙文那边排课时间）
     */
    private String classTimeStr;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
